const { ccclass, property } = cc._decorator;



export const EditorToolItemFunc = cc.Enum({
    None: 0,
    Cursor: 1,
    Tile: 2,
    Size: 3,
    Move: 4,
    Paste: 5,
    Delete: 6,
    BornPoint: 7,
    CopyPaste: 8,
});

@ccclass("EditorToolInfo")
export class EditorToolInfo {
    @property({
        type: EditorToolItemFunc
    })
    func: number = EditorToolItemFunc.Cursor;
    @property()
    ext = "";
};

@ccclass
export default class EditorToolItem extends cc.Component {
    @property(EditorToolInfo)
    info: EditorToolInfo = null;
    @property(cc.Label)
    lb: cc.Label = null;
};